package com.aos.erp.schools.model.division.ro;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 省市对应分所
 * </p>
 *
 * @author chb
 * @since 2018-10-31
 */
@Data
@ApiModel(description="修改车管所对象")
public class UpdateDivisionRo implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 省ID
     */
    @ApiModelProperty(value = "省ID", required = true, dataType = "long")
    private Long provinceId;

    /**
     * 市id
     */
    @ApiModelProperty(value = "市ID", required = true, dataType = "long")
    private Long cityId;


    /**
     * 主键
     */
       @ApiModelProperty(value = "主键",dataType = "long")
       private Long id;


        /**
     * 分所代码
     */
        @NotNull(message = "分所代码不能为空")
        @ApiModelProperty(value = "分所代码",dataType = "long")
         private String code;

        /**
     * 名称
     */
         @NotNull(message = "车管所名称不能为空")
         @ApiModelProperty(value = "车管所名称",dataType = "long")
         private String name;


    /**
     * 创建人id
     */
        @ApiModelProperty(value = "创建人id",dataType = "long")
        private Long currentUserId;


}
